package com.java2007.zhangyu.restaurant.pojo;

import java.util.Date;

/**
 * 订单详情实体类
 * @author zy
 * @Version
 * @date 2021/01/27
 */
public class OrderDetail {
    private Long odId;
    private Integer fId;
    private String fName;
    private Long fPrice;
    private Integer num;
    private Long totalPrice;
    private Date oCreateTime;
    private Date oUpdateTime;
    private Long oId;

    public OrderDetail() {
    }

    public Long getOdId() {
        return odId;
    }

    public void setOdId(Long odId) {
        this.odId = odId;
    }

    public Integer getfId() {
        return fId;
    }

    public void setfId(Integer fId) {
        this.fId = fId;
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName;
    }

    public Long getfPrice() {
        return fPrice;
    }

    public void setfPrice(Long fPrice) {
        this.fPrice = fPrice;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Long getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Long totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Date getoCreateTime() {
        return oCreateTime;
    }

    public void setoCreateTime(Date oCreateTime) {
        this.oCreateTime = oCreateTime;
    }

    public Date getoUpdateTime() {
        return oUpdateTime;
    }

    public void setoUpdateTime(Date oUpdateTime) {
        this.oUpdateTime = oUpdateTime;
    }

    public Long getoId() {
        return oId;
    }

    public void setoId(Long oId) {
        this.oId = oId;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "odId=" + odId +
                ", fId=" + fId +
                ", fName='" + fName + '\'' +
                ", fPrice=" + fPrice +
                ", num=" + num +
                ", totalPrice=" + totalPrice +
                ", oCreateTime=" + oCreateTime +
                ", oUpdateTime=" + oUpdateTime +
                ", oId=" + oId +
                '}';
    }
}
